package com.py.credit.service;

import com.py.credit.common.Page;
import com.py.credit.entity.*;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;
import java.util.Map;

public interface DeptDataService {

    List<DeptData> getListForPage(String deptId, String startTime, String endTime, Page page);

    List<Map<String, Object>> selectForLhbm(int gzid);

    DeptData selectByAjbh(String ajbh);

    Companymess selectByTybm(String tybm, String type);

    List<Measure> selectCsByAjbh(int gzId);

    /**
     * Excel统计导出
     *
     * @param response
     * @throws IOException
     */
    void excelExport(HttpServletResponse response, String startTime, String endTime, String deptId, String type) throws IOException;

    List<Feedback> getFeedbackDetail(String ajbh, String deptId);

    Person selectZrrInfo(String idcard);

    List<NumObj> deptReportNum(String deptId, String startTime, String endTime);

    List<DeptNum> selectCjInfo(String deptId, String startTime, String endTime);

    List<DeptNum> selectCjOutInfo(String deptId, String startTime, String endTime);

    List<DeptNum> selectJlInfo(String deptId, String startTime, String endTime);

    List<DeptNum> selectJlOutInfo(String deptId, String startTime, String endTime);

    int selectDeptFq(String deptId, String startTime, String endTime);

    int selectDeptXy(String deptId, String startTime, String endTime);

    int selectDeptSj(String deptId, String startTime, String endTime);

    int selectDeptLj(String deptId, String startTime, String endTime);

    int selectSjGz(String deptId, String startTime, String endTime);

    List<String> selectCfZrr(String deptId, String startTime, String endTime);

    List<NumObj> deptPhReportNum(String deptId, String startTime, String endTime);

    List<DeptNum> selectJcRecieve(String deptId, String startTime, String endTime);

    List<DeptNum> selectJcFeedback(String deptId, String startTime, String endTime);

    int selectJcRecieveTotal(String deptId, String startTime, String endTime);

    int selectJcFeedbackTotal(String deptId, String startTime, String endTime);

    int selectOthersFeedbackTotal(String deptId, String startTime, String endTime);

    int selectOtherSjGz(String deptId, String startTime, String endTime);

    List<DeptData> getPhListForPage(String deptId, String startTime, String endTime, Page page);
}
